n=input("请输入一个正整数n：")
n=int(n)
a = 0
b = 1
if n <= 0 :
    print("invalid")
else :
    for i in range(n):
        c = a
        a = a +b
        b = c 
        print(a,end=' ')
input('press any key to continue...')